﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using FinApp.DataProviders.Enumerations;
using FinApp.DataProviders.EventArguments.Base;
using System.Device.Location;

namespace FinApp.DataProviders.EventArguments {

    public delegate void PositionChangedEventHandler(object sender, PositionEventArgs e);

    public class PositionEventArgs {

        #region Members
        private GeoCoordinate geoCoordinate;
        #endregion

        #region Constructors
        public PositionEventArgs(GeoCoordinate geoCoordinate) {
            this.geoCoordinate = geoCoordinate;
        }
        #endregion

        #region Properties
        /// <summary>
        /// Obtiene la geocoordenada
        /// </summary>
        public GeoCoordinate GeoCoordinate {
            get { return geoCoordinate; }
        }
        #endregion

    }
}
